//
//  HLRefreshGifHeader.swift
//  HLXiMaLaYa
//
//  Created by hulinhu on 2018/1/24.
//  Copyright © 2018年 hulinhu. All rights reserved.

//  自定义 刷新头部

import UIKit
import MJRefresh

class HLRefreshGifHeader: MJRefreshGifHeader {
    
    override func layoutSubviews() {
        super.layoutSubviews()
        self.stateLabel.isHidden = false
        self.lastUpdatedTimeLabel.isHidden = true
        self.gifView.contentMode = .center;
        self.gifView.mj_w = self.mj_w;
        self.gifView.height = self.mj_h - 50.0
        self.stateLabel.top = self.gifView.bottom
    }
}
